<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<div>
    <spring:message code="console.webapp.label.reader"/> |
    <a href="/reader/${reader.id}/edit"><spring:message code="console.webapp.label.edit"/></a> |
    <a href="/reader/${reader.id}/remove"><spring:message code="console.webapp.label.remove"/></a>
</div>
<ul>
    <li><b><spring:message code="console.webapp.label.id"/></b> ${reader.id}</li>
    <li><b><spring:message code="console.webapp.label.createdDate"/></b> ${reader.createdDate}</li>
    <li><b><spring:message code="console.webapp.label.lastUpdateDate"/></b> ${reader.lastUpdateDate}</li>
    <li><b><spring:message code="console.webapp.label.username"/></b> ${reader.username}</li>
    <%--<li><b><spring:message code="console.webapp.label.password"/></b> ${reader.password}</li>--%>
    <li><b><spring:message code="console.webapp.label.firstName"/></b> ${reader.firstName}</li>
    <li><b><spring:message code="console.webapp.label.lastName"/></b> ${reader.lastName}</li>
    <li><b><spring:message code="console.webapp.label.enabled"/></b> ${reader.enabled}</li>
    <li><b><spring:message code="console.webapp.label.accountNonExpired"/></b> ${reader.accountNonExpired}</li>
    <li><b><spring:message code="console.webapp.label.accountNonLocked"/></b> ${reader.accountNonLocked}</li>
    <li><b><spring:message code="console.webapp.label.credentialsNonExpired"/></b> ${reader.credentialsNonExpired}</li>
    <li><b><spring:message code="console.webapp.label.group"/></b> <a href="/group/${reader.group.id}">${reader.group.name}</a></li>
    <li><b><spring:message code="console.webapp.label.comments"/></b>
        <ol>
            <c:forEach var="comment" items="${reader.comments}">
                <li>
                    <a href="/comment/${comment.id}">${comment.title}</a>
                </li>
            </c:forEach>
        </ol>
    </li>
</ul>